matrix multiplication using divide and conquer method